package cn.edu.scau.cmi.wangzm.abstractfactory;

public abstract class AbstractFactory {
       public static AbstractFactory getFactory(String Brand) {
    	   switch(Brand) {
    	   case"Wens":return new WensFactory();
    	   case"TianBang":return new TianBangFactory();
    	   case"Aonong":return new AonongFactory();
    	   }
    	   return null;
       }
       public abstract ConsumerSelect makeBeef();
       public abstract ConsumerSelect makePork();
       public abstract ConsumerSelect makeChicken();
}
